<ol class="comments-list">
<?php if($comments): foreach($comments as $row):?>
    <li class="comment">
        <div class="comment-avatar">
            <img src="<?php echo site_url('public/images/avatar.png');?>" width="60" height="60" alt="Gravatar" class="avatar" />
        </div><!-- .comment-avatar -->
        <div class="comment-body">
            <div class="comment-meta">
                <a href="#"><?php echo ucwords($row->comment_name);?></a>, 
                <span class="date"><?php echo mdate("%h:%i %a, %d.%m.%Y",mysql_to_unix($row->comment_date));?></span>
            </div><!-- .comment-meta -->
            <p><?php echo $row->comment_body;?></p>
            <!--ul class="comment-links">
                <li><a href="#">Send to a Friend</a> <span class="separator">|</span></li>
                <li><a href="#">Share this Comment</a> <span class="separator">|</span></li>
                <li><a href="#">Reply</a></li>
            </ul--><!-- .comment-links -->
        </div><!-- .comment-body -->
    </li><!-- .comment -->
<?php endforeach; else: ?>
    <li class="comment first">
        <div class="comment-body">
            <div class="comment-meta">
            </div><!-- .comment-meta -->
            <p><?php echo lang('mensaje_ningun_comentario');?></p>
        </div><!-- .comment-body -->
    </li><!-- .comment -->
<?php endif;?>
</ol>